﻿<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="mainCanvas" Loaded="mainCanvasLoaded" MouseMove="whenMouseMoves" MouseLeave="mainCanvasMouseLeave" mc:Ignorable="d" d:DesignWidth="439" d:DesignHeight="258">
	<Canvas.Resources>
		<Storyboard x:Name="SocialButtonMouseOverStoryboard">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)">
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
				<DiscreteDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="180"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
				<DiscreteDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:02" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationZ)">
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
				<DiscreteDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(ContentControl.Content)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="Facebook"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="Réseau Social"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:01.5000000" Value="Réseau Social"/>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
	</Canvas.Resources>
	<Button x:Name="button" Height="91" Width="94" Content="Facebook" Canvas.Left="49" Canvas.Top="109" Opacity="0.385" BorderBrush="{x:Null}">
		<Button.Background>
			<ImageBrush ImageSource="Facebook-icon.png"/>
		</Button.Background>
		
		<Button.Projection>
			<PlaneProjection/>
		</Button.Projection>
	</Button>
</Canvas>
